#ifndef _CGAME_H
#define _CGAME_H
#pragma once
#include "Cchecker.h"
#include "Crule.h"

class Cgame
{
public:
	Cgame();
	~Cgame();

	void run();
private:
	Crule* m_rule;
};

Cgame::Cgame()
{
	m_rule = nullptr;
	m_rule = new Crule();
}

inline void Cgame::run()
{
	
	m_rule->StartGame();
}

Cgame::~Cgame()
{
	delete m_rule;
	m_rule = nullptr;
}

#endif // !_CGAME_H


